//
//  RevampPasswordViewController.m
//  RedHareCar
//
//  Created by WDL on 16/12/29.
//  Copyright © 2016年 CarCredit. All rights reserved.
//

#import "RevampPasswordViewController.h"

@interface RevampPasswordViewController ()

@property (weak, nonatomic) IBOutlet UITextField *oldPasswordField;

@property (weak, nonatomic) IBOutlet UITextField *freshPassword;


@end

@implementation RevampPasswordViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"修改密码";
    

}

/** 确定密码*/
- (IBAction)confirmAction:(id)sender {
    
    if (self.oldPasswordField.text.length == 0) {
        
        [self showToast:@"请输入原密码"];
        
    }else if (self.freshPassword.text.length == 0)
    {
        [self showToast:@"请输入新密码"];
        
    }else{
        
        [self confirmRequestAction];
        
    }
    
    
    
    
    
}

/**
 *  修改密码 服务器同步
 *
 */
-(void)confirmRequestAction
{
    
    
    
    
    
    
    
    
}




@end
